package game.structures;

import game.graphics.Animation;

public class Tile {

	Animation tileAnim;
	int tileID;
	
	public Tile(Animation tileAnim, int tileID) {
		this.tileAnim = tileAnim;
		this.tileID = tileID;
	}
	
	public int getID() { return tileID; }
	
	public void update(int delta) {
		tileAnim.update(delta);
	}
	
	public void draw(int x, int y) {
		tileAnim.draw(	x, y,
						1f, 1f,
						1f,
						0f);
	}
	
}
